"""
@FileName：6打印1-100之间的前20个偶数.py
@Author：lmz
@Time：2021/5/18 18:13
"""
def fun1():
    i = 1
    num = 0
    while i <= 100:
        if i % 2 == 0:
            print(i)
        num += 1

        if num == 20:
            break
        i += 1
fun1()